TQAGetNoticeMethod
A drawing engine must define a method to return the notice method of a draw context.
typedef TQAError (*TQAGetNoticeMethod) ( const TQADrawContext *drawContext, TQAMethodSelector method, TQANoticeMethod *completionCallBack, void **refCon);
drawContext
- A draw context.
method
- A method selector. See "Notice Method Selectors" (page 1-68) for a description of the available method selectors.
completionCallBack
- On exit, a pointer to the current draw context notice method of the specified type.
refCon
- On exit, the reference constant of the specified notice method.
DESCRIPTION
YourTQAGetNoticeMethod
function should return, in thecompletionCallBack
parameter, a pointer to the current notice method of the draw context specified by thedrawContext
parameter that has the type specified by themethod
parameter.TQAGetNoticeMethod
should also return, in therefCon
parameter, the reference constant associated with that notice method.